<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>权限修改</title>
<%@ include file="/view/common/tags.jsp"%>
	<link rel="stylesheet" href="${sysManagerV1}/css/treegrid/metroStyle/metroStyle.css" type="text/css">
  	<link rel="stylesheet" href="${sysManagerV1}/css/treegrid/demo.css" type="text/css">
  	<style>
  		.menuTree{width:140px;float:left;margin-top:10px;}
  		.menuTreeR{margin-left:150px;}
  		.ztree li span.button.ico_open,
		.ztree li span.button.ico_close,
		.ztree li span.button.ico_docu {
		    background-image: none !important;
		    display: inline-block;
		    font: normal normal normal 14px/1 FontAwesome;
		    font-size: inherit;
		    text-rendering: auto;
		    -webkit-font-smoothing: antialiased;
		    -moz-osx-font-smoothing: grayscale;
		    transform: translate(0, 0);
		    font-size:14px;
		}
	    .ztree li span.button.ico_open:before,
	    .ztree li span.button.ico_close:before {
	        content: "\f07c";
	        color: #f3d00b;
	    }
	    .ztree li span.button.ico_docu:before {
	        content: "\f15c";
	        font-size: 12px;
	        color: #bbb;
	    }
  	</style>
</head>
<body>
	<section class="content">
			<div class="ztree menuTree" id="treeDemo"></div>
			<form method="post" class="form-horizontal" id="saveAndUpdateFrom" target="_parent"  >
				<input type="hidden" id="roleId" name="roleId" value="${roleId }" >
				<input type="hidden" id="menuIds" name="menuIds"  >
			</form>
			<textarea id="menus" style="display: none;">${menus}</textarea>
	</section>
</body>
<%@ include file="/view/common/footer.jsp"%>
<script type="text/javascript" src="${sysManagerV1}/js/treegrid/jquery.ztree.core.js"></script>	
<script type="text/javascript" src="${sysManagerV1}/js/treegrid/jquery.ztree.excheck.js"></script>	
<script type="text/javascript" src="${sysManagerV1}/view/js/system/menu_role_list.js"></script>
<script type="text/javascript">
</script>
</html>